Class EDuplicateSelfTestException

All Implemented Interfaces:
Serializable

public class EDuplicateSelfTestException extends ESelfTestException
This class implements a duplicate self test exception. EDuplicateSelfTestExceptions are derived from ESelfTestExceptions in order to allow users to easily do self tests without try-catch clauses. EDuplicateSelfTestExceptions should be caught by SelfTestSubsystem managers.

Version:
$Revision$, $Date$
See Also:
  • Constructor Details

    • EDuplicateSelfTestException

      public EDuplicateSelfTestException(String instanceName)
      Constructs a "duplicate" self test exception.

      Parameters:
      instanceName - duplicate "instanceName" exception details
    • EDuplicateSelfTestException

      public EDuplicateSelfTestException(String instanceName, String instanceValue)
      Constructs a "duplicate" self test exception where the value is always a duplicate from a name/value pair

      Parameters:
      instanceName - duplicate "instanceName" exception details
      instanceValue - duplicate "instanceValue" exception details
    • EDuplicateSelfTestException

      public EDuplicateSelfTestException(String instanceStore, String instanceParameter, String instanceValue)
      Constructs a "duplicate" self test exception where the parameter is a duplicate from a substore.parameter/value pair; (the value passed in may be null).

      Parameters:
      instanceStore - duplicate "instanceStore" exception details
      instanceParameter - duplicate "instanceParameter" exception details
      instanceValue - duplicate "instanceValue" exception details (may be null)
  • Method Details

    • getInstanceName

      public String getInstanceName()
      Returns the instance name associated with this self test.

      Returns:
      name portion of the name/value pair
    • getInstanceStore

      public String getInstanceStore()
      Returns the store associated with this self test.

      Returns:
      substore portion of the substore.parameter/value pair
    • getInstanceParameter

      public String getInstanceParameter()
      Returns the parameter associated with this self test.

      Returns:
      parameter portion of the substore.parameter/value pair
    • getInstanceValue

      public String getInstanceValue()
      Returns the value associated with this self test.

      Returns:
      value portion of the name/value pair